package org.apache.dolphinscheduler.dao.entity;

import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@TableName("t_ds_model_file")
public class ModelFile {

	@TableId(value = "id", type = IdType.AUTO)
    private Integer id;
	private Integer uid;
	private String fileName;
	private String fileDesc;
	private String fullName;
	private Integer modelId;
	private Long size;
	private Integer pid;
	private Integer isDirectory;
	private Date createTime;
	private Date updateTime;
	@TableField(exist = false)
	private List<ModelFile> childFile;
}
